import { createApp } from 'vue'
import App from './App.vue'
import router from "./router";
import store from "./store";
import svgIcon from './components/svgIcon.vue';
import init from './style/init.css';
import wsHook from "./hooks/wsHook";
import eventBus from 'vue3-eventbus'
import ElementPlus from 'element-plus';
import 'element-plus/theme-chalk/index.css';

let app = createApp(App)
    .use(router)
    .use(store)
    .use(ElementPlus)
    .use(eventBus)
    .component('svg-icon', svgIcon);
app.config.globalProperties.$ws = wsHook();
app.mount('#app');

